* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

html,
body {
    width: 100%;
    height: 100%;
}

.center {
    @media only screen and (min-width:1180px) {
        width: 1180px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    @media only screen and (min-width:740px) and (max-width:1179px) {
        width: 740px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    @media only screen and (max-width:739px) {
        margin-left: 1em !important;
        margin-right: 1em !important;
    }
}

body {

    background-color: #f7f7f7;

    .headerBox {
        margin-bottom: 23px;
        width: 100%;
        height: 78px;
        background-color: #ffffff;

        border-bottom: 2px solid #f2f2f2;

        position: sticky;
        top: 0;

        .header {
            height: 78px;
            background-color: #ffffff;

            display: flex;
            flex-wrap: nowrap;

            .headerLeft {

                display: flex;
                flex-wrap: nowrap;
                margin-right: auto;

                &>:nth-child(1) {
                    width: 222px;
                    height: 78px;
                    background: url(../images/logo.png) no-repeat center center;
                    background-size: cover;
                }

                &>:nth-child(-n+4):not(:nth-child(1)) {

                    white-space: nowrap;
                    margin-left: 50px;
                    height: 78px;
                    line-height: 78px;
                    font-size: 18px;
                    color: #222222;
                }

                &>:nth-child(3) {
                    padding-right: 28px;

                    position: relative;

                    &>a {
                        position: relative;
                        color: #222222;
                    }

                    &>a::after {
                        content: '';
                        display: block;
                        border: 8px solid transparent;
                        border-top-color: #222222;

                        position: absolute;
                        top: 10px;
                        right: -28px;
                    }

                    &:hover {
                        .sub_menu {
                            display: block;
                        }
                    }

                    .sub_menu {
                        position: absolute;
                        top: 70px;
                        left: -50px;
                        z-index: 10;

                        // box-sizing: border-box;
                        width: 400px;
                        height: 320px !important;
                        border: 1px solid #f7f7f7;
                        background-color: #ffffff;

                        // &>::after {
                        //     content: '';
                        //     display: block;
                        //     border: 8px solid transparent;
                        //     border-bottom-color: #ffffff;

                        //     position: absolute;
                        //     top: -16px;
                        //     right: 290px;
                        // }

                        display: none;


                        a {
                            display: block;
                            float: left;
                            box-sizing: border-box;
                            padding: 10px;
                            width: 40%;
                            color: #222222;
                            line-height: 30px;
                            text-align: center;

                            &:hover {
                                color: orange;
                            }
                        }
                    }
                }

            }

            .headerRight {

                display: flex;
                align-items: center;
                margin-right: 10px;

                .userPhone{
                    display: none;
                    width: 34px;
                    height: 34px;
                    border-radius: 50%;
                    background: url(../images/default.png) no-repeat center center;
                    background-size: cover;
                }

                button {
                    margin-left: 12px;
                    width: 90px;
                    height: 40px;
                    font-size: 17px;
                    border: none;
                    border-radius: 2px;

                    &:nth-child(1) {
                        display: block;
                        background-color: #ededed;
                    }

                    &:nth-child(2) {
                        display: block;
                        color: #fff;
                        background-color: #c0a75e;
                    }

                    &:nth-child(3) {
                        display: none;
                    }
                }
            }
        }
    }

    .mainBox {
        width: 100%;

        .main {
            // background-color: chocolate;

            display: flex;

            .leftMain {
                box-sizing: border-box;
                margin: 10px;
                padding: 20px 30px 50px 30px;
                width: 75%;
                background-color: #ffffff;

                .headline {

                    .nav_classfy {
                        margin-bottom: 8px;
                        font-size: 18px;
                        color: #a2a2a2;

                        a {
                            color: #a2a2a2;
                        }

                        i {
                            font-style: normal;
                        }
                    }

                    .title {
                        margin: 4px 0 30px 0;
                        font-size: 24px;
                        font-weight: bold;
                    }
                }

                .banners {
                    margin: 0 -30px 0 -30px;

                    a {
                        img {
                            width: 100%;
                        }
                    }
                }

                .description {
                    margin-top: 30px;

                    h3 {
                        margin-bottom: 12px;
                        color: #999999;
                    }

                    .work_exhibition {
                        p {
                            margin-bottom: 12px;
                            line-height: 22px;
                            font-size: 15px;
                            color: #222222;
                        }

                        .work {
                            margin-bottom: 14px;

                            a {
                                img {
                                    width: 100%;
                                }
                            }
                        }
                    }
                }

                .predict {
                    margin-top: 30px;

                    h3 {
                        margin-bottom: 12px;
                        color: #999999;
                    }
                }

                .expandServices {
                    margin-top: 30px;

                    h3 {
                        margin-bottom: 12px;
                        color: #999999;
                    }

                    .expandSelect {
                        margin-top: 5px;
                        padding: 28px;
                        background-color: #f8f8f9;

                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        label {
                            display: flex;
                            align-items: center;

                            input {
                                box-sizing: border-box;
                                width: 21px;
                                height: 21px;
                                border: 1px solid #d4d4d5;
                            }

                            span {
                                margin-left: 15px;
                                color: #555555;
                            }
                        }


                        i {
                            font-size: 12px;
                            font-style: normal;
                            color: #222222;
                        }
                    }
                }

                .urgentServices {
                    margin-top: 30px;

                    h3 {
                        margin-bottom: 12px;
                        color: #999999;
                    }

                    .urgentSelect {
                        padding: 28px;
                        background-color: #f8f8f9;

                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        label {
                            display: flex;
                            align-items: center;

                            input {
                                box-sizing: border-box;
                                width: 21px;
                                height: 21px;
                                border: 1px solid #d4d4d5;
                            }

                            span {
                                margin-left: 15px;
                                color: #555555;
                            }
                        }


                        i {
                            font-size: 12px;
                            font-style: normal;
                            color: #222222;
                        }
                    }
                }

                .divider {
                    margin: 15px 0;
                    width: 100%;
                    height: 1px;
                    background-color: #dddddd;
                }

                .leftBuy {

                    text-align: right;

                    margin: 20px 0 0 0;

                    button {
                        padding: 10px;
                        width: 200px;
                        height: 50px;
                        font-size: 20px;
                        font-weight: bold;
                        color: #ffffff;
                        border: none;
                        border-radius: 5px;
                        background-color: #c0a75e;
                        cursor: pointer;

                        &:hover {
                            background-color: #caad58;
                        }
                    }
                }
            }

            .rightMain {
                box-sizing: border-box;
                margin: 10px;
                width: 25%;

                display: flex;
                flex-direction: column;

                .services {
                    margin-bottom: 14px;
                    padding: 20px;
                    background-color: #ffffff;

                    .service_price {

                        text-align: center;

                        p {
                            margin: 10px 0;
                            font-size: 28px;
                            font-weight: 600;
                        }

                        .service_more {
                            padding-bottom: 20px;
                            font-size: 18px;
                            border-bottom: 1px solid #dddddd;

                            span {
                                color: #999999;
                            }

                            a {
                                color: #c5ae6a;
                            }
                        }
                    }

                    .evaluate {
                        padding: 14px 0;
                        color: #999999;
                        border-bottom: 1px solid #dddddd;

                        .evaluate_num {
                            display: flex;
                            justify-content: space-between;

                            padding-bottom: 3px;
                        }

                        .evaluate_stars {
                            display: flex;
                            justify-content: space-between;

                            padding-top: 3px;

                            span:nth-of-type(2) {
                                color: #c0a75e;

                                i {
                                    font-style: normal;
                                }
                            }
                        }
                    }

                    .expand_service {

                        .expand_text {
                            margin: 12px 0 14px 0;
                            font-weight: bold;
                            color: #222222;

                            i {
                                color: #bbbbbb;
                            }
                        }

                        .expand_select {
                            padding: 2.8px 0;

                            display: flex;
                            justify-content: space-between;
                            align-items: center;

                            label {
                                display: flex;
                                align-items: center;

                                input {
                                    flex-shrink: 0;
                                    box-sizing: border-box;
                                    width: 21px;
                                    height: 21px;
                                    border: 1px solid #d4d4d5;
                                }

                                span {
                                    margin-left: 15px;
                                    color: #555555;
                                }
                            }

                            i {
                                font-style: normal;
                                font-size: 12px;
                                color: #acacac;
                            }
                        }
                    }

                    .urgent_service {

                        .urgent_text {
                            margin: 12px 0 14px 0;
                            font-weight: bold;
                            color: #222222;

                            i {
                                color: #bbbbbb;
                            }
                        }

                        .urgent_select {
                            padding: 2.8px 0;

                            display: flex;
                            justify-content: space-between;
                            align-items: center;

                            label {
                                display: flex;
                                align-items: center;

                                input {
                                    box-sizing: border-box;
                                    width: 21px;
                                    height: 21px;
                                    border: 1px solid #d4d4d5;
                                }

                                span {
                                    margin-left: 15px;
                                    color: #555555;
                                }
                            }

                            i {
                                font-style: normal;
                                font-size: 12px;
                                color: #acacac;
                            }
                        }
                    }

                    .rightBuy {

                        margin: 20px 0 5px 0;

                        button {
                            padding: 10px;
                            width: 100%;
                            height: 50px;
                            font-size: 20px;
                            font-weight: bold;
                            color: #ffffff;
                            border: none;
                            border-radius: 5px;
                            background-color: #c0a75e;
                            cursor: pointer;

                            &:hover {
                                background-color: #caad58;
                            }
                        }
                    }
                }

                .author {
                    margin-bottom: 14px;
                    padding: 20px;
                    background-color: #ffffff;

                    .divider {
                        margin: 15px 0;
                        width: 100%;
                        height: 1px;
                        background-color: #dddddd;
                    }

                    .author_up {

                        display: flex;

                        .name_communicate {
                            margin: 0 0 20px 10px;

                            display: flex;
                            flex-direction: column;
                            justify-content: space-between;

                            span {
                                font-size: 20px;
                                color: #555555;
                                cursor: pointer;
                            }

                            i {
                                margin-top: 15px;
                                width: 80px;
                                height: 30px;
                                background: url(../images/communication.png) no-repeat center center;
                                background-size: cover;
                                cursor: pointer;
                            }
                        }
                    }

                    .author_mid {
                        color: #a2a2a2;

                        .time {
                            display: flex;
                            justify-content: space-between;
                            padding-bottom: 3px;

                            .time_left {
                                display: flex;
                                align-items: center;

                                .i1 {
                                    margin-right: 10px;
                                    width: 20px;
                                    height: 20px;
                                    background: url(../images/响应时间.png) no-repeat center center;
                                    background-size: cover;
                                }
                            }
                        }

                        .authentication {
                            display: flex;
                            justify-content: space-between;
                            padding-top: 3px;

                            .authentication_left {
                                display: flex;
                                align-items: center;

                                .i2 {
                                    margin-right: 10px;
                                    width: 20px;
                                    height: 20px;
                                    background: url(../images/实名认证.png) no-repeat center center;
                                    background-size: cover;
                                }
                            }
                        }
                    }

                    .author_down {
                        line-height: 25px;
                        color: #a2a2a2;
                    }
                }

                .flow {
                    padding: 20px;
                    background-color: #ffffff;

                    p:nth-of-type(1) {
                        margin-bottom: 15px;
                        color: #999999;
                    }

                    p:nth-of-type(2) {
                        padding-bottom: 14px;
                        border-bottom: 1px solid #d4d4d5;
                        color: #555555;
                    }

                    p:nth-of-type(3) {
                        margin: 26px 0 15px 0;
                        color: #999999;
                    }


                    div {
                        a {
                            color: #c0a75e;
                        }

                        a:nth-of-type(1) {
                            padding-right: 10px;
                            border-right: 1px solid #d4d4d5;
                        }

                        a:nth-of-type(2) {
                            padding-left: 10px;
                        }
                    }

                }
            }
        }
    }

    .footerBox {
        width: 100%;
        background-color: #333333;

        .footer {
            box-sizing: border-box;
            height: 336px;
            background-color: #333333;

            display: flex;
            flex-direction: column;
            justify-content: center;

            h2 {
                margin-bottom: 26px;
                color: #999999;
            }

            .four_column_row {
                display: flex;

                .column {
                    flex: 1;

                    .title {
                        color: #999999;
                    }

                    .link_list {
                        margin-top: 26px;
                        line-height: 36px;

                        display: flex;
                        flex-direction: column;

                        a {
                            font-size: 15px;
                            color: #dddddd;
                        }
                    }
                }
            }
        }
    }
}